<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
			<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<script type="text/javascript" src="dbtools.js"></script>

	</head>

	<body>
		<button id="bt1">查询所有表数据</button>
		<div id="div1" ></div>
		<script type="text/javascript">
			document.getElementById("bt1").addEventListener('touchstart', function() {
				
				var div1=document.getElementById("div1");
				
				queryalltables(tablesconfig1,div1, function(rs) {
//					for(var i = 0; i < rs.rows.length; i++) {
//						var row = rs.rows.item(i);
//						div1.innerHtml+=JSON.stringify(row) + "<br>";
//					}
					div1.innerHtml+="dd,";
				})
			});
		</script>

	</body>

</html>